<script setup lang='ts'>
import { ref } from 'vue'
const active = ref(0)
</script>

<template>
    <div>
        <van-tabbar v-model="active">
            <van-tabbar-item to="/home/my" icon="home-o">她的</van-tabbar-item>
            <van-tabbar-item to="/home/user" icon="search" dot>地址</van-tabbar-item>
            <van-tabbar-item to="/home/about" icon="friends-o" info="5">信息</van-tabbar-item>
            <van-tabbar-item to="/home" icon="setting-o" info="20">其他</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<style lang='scss' scoped></style>